import { Component } from '@angular/core';

declare var form: any;

@Component({
  templateUrl: './worktime.component.html'
})
export class WorktimeComponent {
  fs: any = null;
  constructor() {
    this.fs = new form.FormSimpleService('worktime', {
      orderObject: { id: 0 },
      keyField: 'id',
      randomFields: ['id']
    });
    // 加载表单数据
    this.fs.loadData(true);
  }
}
